# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2023年03月13日
"""
import openpyxl

myBook = openpyxl.load_workbook('利润表.xlsx')
i=0;myLength=len(myBook.worksheets)
while i < myLength:
	if i%2==0:
		myBook.worksheets[i].sheet_properties.tabColor='FF0000'
	i+=1

myBook.save('结果表-利润表.xlsx')